PlanetRegionInfo
The region info format of a planet. It is the combination of the following types:
Subtype A
PlanetData
Atmosphere
It is of the type boolean.
DayCycleIncrement
It is of the type number.
EnterLocation
It is of the type RegionEntryLocation.
GenerationHeightScale
It is of the type number.
Gravity
It is of the type number.
PlanetMaterial
It can be any of the following strings: "Grass", "Sand", "Snow", "Rock1", "Rock2".
PlanetType
It is of the type PlanetType.
PrimaryColor
It is of the type RegionColor.
Resources
It is an array whose values are of the type string.
Rings
It is of the type RingData.
It may also be nil.
SecondaryColor
It is of the type RegionColor.
StartingTime
It is of the type number.
Temperature
It is of the type number.
TerrainConfig
It is of the type TerrainData.
Subtype B
It is of the type PlayableRegionInfo.
Luau Type
This is the luau type for PlanetRegionInfo. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).
export type PlanetRegionInfo = {
StarType: never,
BlackHoleSize: never,
StarSize: never,
OrbitBody: never,
PlanetData: {
DayCycleIncrement: number,
EnterLocation: RegionEntryLocation,
PrimaryColor: RegionColor,
Gravity: number,
TerrainConfig: TerrainData,
GenerationHeightScale: number,
Temperature: number,
Rings: RingData?,
PlanetType: PlanetType,
StartingTime: number,
Atmosphere: boolean,
Resources: { string },
SecondaryColor: RegionColor,
PlanetMaterial: "Grass" | "Sand" | "Snow" | "Rock1" | "Rock2",
},
} & PlayableRegionInfo